package com.itic.appbase.framework.utils;

import javax.swing.JFrame;

public class KeyListenerHelper extends JFrame  {
  
	 /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 
     * @param args 
     */  
    char charA;  
    public KeyListenerHelper(){  
        this.setSize(500,100);  
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
        this.setTitle("my jframe");  
        this.setVisible(true);  
        this.addKeyListener(new MyKeyListener());  
          
          
    }  
    
    public static void main(String[] args) {  
        // TODO Auto-generated method stub   
        new KeyListenerHelper();  
    }  
}
